<!DOCTYPE html>
<html>
	<head>
		<title>URL FZ: URL shortener</title>
		<meta name="robots" content="noindex, nofollow">
		<script type="text/javascript" src="js/jquery.min.js"></script>
		<script type="text/javascript" src="js/config.js"></script>
		<script type="text/javascript" src="js/shorten.js"></script>
		<link rel="stylesheet" type="text/css" href="style.css" />
	</head>
	<body>
		<span id="eresponse"></span>
		<span id="response"></span>
		<div id="main">
		<h1>URL FZ</h1>
			<form method="post" action="shorten.php" id="shortener">
				<br />
				<input type="url" name="longurl" id="longurl" autocomplete="off" autofocus="autofocus" placeholder="http://">
				<br />
				<input type="submit" value="Shorten" onSubmit="return false;">
				<div id="cap">
<?php
	define('URLFZ',1);
	require_once('config.php');
	require_once(SOURCE_DIR . 'recaptchalib.php');
	if(RECAPTCHA)
	echo recaptcha_get_html(RE_PUB_KEY);
?>

				</div>
			</form>
			<div id='legal' class='hide'>
				<a href='http://about.urlfz.us/'>About us</a> |
				<a href='http://about.urlfz.us/terms'>Terms/Conditions</a> |
				<a href='http://about.urlfz.us/api'>Developer API</a>
			</div>
		</div>
	</body>
</html>
